#include "stdafx.h"
#include "stdio.h"
#include "RoomMgr.h"

int Room::GetID()
{
	return id;
}

int Room::GetPrice()
{
	return price;
}

int Room::SetID(int roomid)
{
	id=roomid;
	return 0;
}

int RoomMgr::GetRoomByID(int id)
{
	char* pQuery="SELECT * FROM ROOMS WHERE id=%d";
	char pQueryReal[1024]={'\0'};
	sprintf(pQueryReal,pQuery,id);
	//pDataEngine->Query(pQueryReal);
	return 0;
}

